/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.fjs.liyq.dao;

import edu.fjs.liyq.entity.Order;
import edu.fjs.liyq.entity.OrderDetail;

/**
 *
 * @author danny
 */
public interface OrderDao {
    
    /**
     * 插入订单数据
     * @param order
     * @return 
     */
    int insertOrder(Order order);
    
    /**
     * 插入订单明细数据
     * @param orderDetail
     * @return 
     */
    int insertOrderDetail(OrderDetail orderDetail);
}
